package com.baichang.taoshunda.dao;

import com.baichang.framework.dao.BaseDao;
import com.baichang.framework.model.Page;
import com.baichang.taoshunda.entity.PaymentManagement;

import java.util.List;
import java.util.Map;

/**
 * Created by Administrator on 2018/2/1 0001.
 */
public interface PaymentManagementDao extends BaseDao<PaymentManagement>{
    /**
     * 查询时间金钱
     * @param nowPage
     * @param pageSize
     * @return
     */
    Page queryTimeInfo(int nowPage, int pageSize);

    /**
     * 修改
     * @param map
     * @param id
     * @return
     */
    int update(Map map, Integer id);

    /**
     * 选择分类
     * @param type
     * @return
     */
    List<Map<String,Object>> queryPaymentType(Integer type);
}
